babl: add babl_model_is, utility function for checking model equivalence
authorØyvind Kolås <pippin@gimp.org>
Wed, 11 Jul 2018 21:35:59 +0000 (23:35 +0200)
committerØyvind Kolås <pippin@gimp.org>
Wed, 11 Jul 2018 21:36:01 +0000 (23:36 +0200)
commit2c8961d7af3d246bbc4a379d447c400def01e0da
treeca03bf3ed3e2524b03593729410bd945fe11424a
parente8653d0da6bb1402478853a4c1f87e668fadc644
babl: add babl_model_is, utility function for checking model equivalence

This creates an on the fly model with the same space as the one compared with
and does pointer equivalence. Using it makes for less verbose code.
babl/babl.c
babl/babl.h
export-symbols